package cn.ven.mapper;

import cn.ven.entity.MyUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<MyUser> {
    List<MyUser> selectAll(); //查找所有的用户
    public MyUser findByUsername(String username);//根据用户名查找用户
}
